package dblayer;


import modellayer.*;
public interface IFSupplierDB {

	int insertSupplier(Supplier supplierObj) throws Exception;

	// Get one Supplier by id
	public Supplier findSupplier(int supplierId);
	// Get one Supplier by name
	public Supplier findSupplier(String name);
	// Delete one Supplier by id
	boolean deleteSupplier(int supplierId);
	// Update a Supplier
	boolean updateSupplier(int supplierNo, String name, String address,
			String country, String phonenumberOriginCode, String phonenumber,
			String email);

	
	
	
}
